package com.prp.db.idao;

import java.util.List;

import com.prp.db.po.Mail;

public interface IMailDAO {
	public void save(Mail transientInstance);

	public void delete(Mail persistentInstance);

	public Mail findById(java.lang.Integer id);

	public List findByExample(Mail instance);

	public List findByProperty(String propertyName, Object value);

	public List findByContent(Object content);
	
	public List findAll();

	public Mail merge(Mail detachedInstance);

	public void attachDirty(Mail instance);

	public void attachClean(Mail instance);
}
